package cn.golxen.rsms.bean.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class GoodsMain{
    String code;
    String trademark;
    String goodsName;
    String goodsType;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    Double suggestedPrice;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    String image;
    LocalDateTime createDate;
}
